
<div class="toc">
<ul>
<li><a href="#toc_0.1">Web links</a>
<ul>
<li><a href="#toc_0.1.1">With punctuation</a>
<li><a href="#toc_0.1.2">Several on a line</a>
<li><a href="#toc_0.1.3">Examples of URIs</a>
</ul>
<li><a href="#toc_0.2">Bracketed web links</a>
<li><a href="#toc_0.3">"Normalize" kind</a>
</ul>
</ul>
</div>
<h2 id="toc_0.1">Web links</h2>
<p>
Test both plain and marked-up links.
</p>
<h3 id="toc_0.1.1">With punctuation</h3>
<p>
<code>(text URL)</code> or <code>URL,</code> or <code>URL?</code>
</p>
<ol>
<li>
(<a href="http://www.abc.com/koko#lili">http://www.abc.com/koko#lili</a>)

<li>
<a href="https://en.wikipedia.org/wiki/John_Smith_(mathematician)">https://en.wikipedia.org/wiki/John_Smith_(mathematician)</a>

<li>
<code>https://en.wikipedia.org/wiki/John_Smith_(mathematician)</code>

<li>
(this link <a href="https://en.wikipedia.org/wiki/John_Smith_(mathematician)">https://en.wikipedia.org/wiki/John_Smith_(mathematician)</a>)

<li>
<a href="http://http://en.wikipedia.org/wiki/Vim_(text_editor)">http://http://en.wikipedia.org/wiki/Vim_(text_editor)</a>  hmm

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>, 

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>; 

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>:

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>. 

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>! 

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>?

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)_again">http://en.wikipedia.org/wiki/Vim_(text_editor)_again</a>?

<li>
(<a href="http://www.novell.com/linux/releasenotes/x86_64/SUSE-SLES/11/#rnotes-deprecated">http://www.novell.com/linux/releasenotes/x86_64/SUSE-SLES/11/#rnotes-deprecated</a>)

<li>
www.example.com/koko#lili not enough!

<li>
<a href="http://www.abc.com/koko#lili(here">http://www.abc.com/koko#lili(here</a> space is really needed!)

<li>
hjkl<a href="http://www.abc.com/koko#lili">http://www.abc.com/koko#lili</a>   ? accepted?

</ol>

<h3 id="toc_0.1.2">Several on a line</h3>
<ol>
<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>, <a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>; <a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>. <a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>! <a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>?

<li>
<a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>,     <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>;    <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>.     <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>?     <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>! 

<li>
<a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>, <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>: <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>; <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>? <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>! 

<li>
<a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>. <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>, <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>; <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>! <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>? something

</ol>

<h3 id="toc_0.1.3">Examples of URIs</h3>
<pre>
     http://tools.ietf.org/html/rfc4248
     ftp://ftp.is.co.za/rfc/rfc1808.txt
     http://www.ietf.org/rfc/rfc2396.txt
     mailto:John.Doe@example.com
     news:comp.infosystems.www.servers.unix
     tel:+1-816-555-1212
     doi:10.1000/182
     telnet://192.0.2.16:80/
     git://github.com/gitster/git.git
     urn:oasis:names:specification:docbook:dtd:xml:4.1.2
     ldap://[2001:db8::7]/c=GB?objectClass?one
</pre>
<ol>
<li>
   <a href="http://tools.ietf.org/html/rfc4248">http://tools.ietf.org/html/rfc4248</a>

<li>
   <a href="ftp://ftp.is.co.za/rfc/rfc1808.txt">ftp://ftp.is.co.za/rfc/rfc1808.txt</a>

<li>
   <a href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt</a>

<li>
   <a href="mailto:John.Doe@example.com">mailto:John.Doe@example.com</a>

<li>
   <a href="news:comp.infosystems.www.servers.unix">news:comp.infosystems.www.servers.unix</a>

<li>
   <a href="tel:+1-816-555-1212">tel:+1-816-555-1212</a>

<li>
   <a href="doi:10.1000/182">doi:10.1000/182</a>

<li>
   <a href="telnet://192.0.2.16:80/">telnet://192.0.2.16:80/</a>

<li>
   <a href="git://github.com/gitster/git.git">git://github.com/gitster/git.git</a>

<li>
   <a href="urn:oasis:names:specification:docbook:dtd:xml:4.1.2">urn:oasis:names:specification:docbook:dtd:xml:4.1.2</a>

<li>
   <a href="ldap://[2001:db8::7]/c=GB?objectClass?one">ldap://[2001:db8::7]/c=GB?objectClass?one</a>      <em>Not going through? Hardly worth fixing.</em>

</ol>


<h2 id="toc_0.2">Bracketed web links</h2>
<p>
<code>[URL DESCRIPTION]</code> or <code>[URL ]</code>?
</p>
<pre>
# [http://en.wikipedia.org/wiki/Vim_(text_editor) Vim]
# [http://en.wikipedia.org/wiki/Vim_(text_editor) (Vim)]
# [http://en.wikipedia.org/wiki/Vim_(text_editor) http://what?]
# [http://en.wikipedia.org/wiki/Vim_(text_editor)]
# [http://en.wikipedia.org/wiki/Vim_(text_editor) ]
# [http://en.wikipedia.org/wiki/Vim]
# [http://en.wikipedia.org/wiki/Vim  ]
# [http://en.wikipedia.org/wiki/Vim  ][doi:10.1000/182 This Document]
# [http://en.wikipedia.org/wiki/Vim_(text_editor) http://what?] [http://en.wikipedia.org/wiki/Vim  ][doi:10.1000/182 This Document]
# [doi:10.1000/182 This Document]
# [telnet://192.0.2.16:80/  local server]
# [git://github.com/gitster/git.git  Gitster]
# [urn:oasis:names:specification:docbook:dtd:xml:4.1.2  abstract]
# [ldap://[2001:db8::7]/c=GB?objectClass?one      _Not going through? Hardly worth fixing._]
</pre>

<ol>
<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">Vim</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">(Vim)</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://what?</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>

<li>
<a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>[<a href="doi:10.1000/182">doi:10.1000/182</a> This Document]

<li>
<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://what?</a> <a href="http://en.wikipedia.org/wiki/Vim">http://en.wikipedia.org/wiki/Vim</a>[<a href="doi:10.1000/182">doi:10.1000/182</a> This Document]

<li>
[<a href="doi:10.1000/182">doi:10.1000/182</a> This Document]

<li>
[<a href="telnet://192.0.2.16:80/">telnet://192.0.2.16:80/</a>  local server]

<li>
[<a href="git://github.com/gitster/git.git">git://github.com/gitster/git.git</a>  Gitster]

<li>
[<a href="urn:oasis:names:specification:docbook:dtd:xml:4.1.2">urn:oasis:names:specification:docbook:dtd:xml:4.1.2</a>  abstract]

<li>
<a href="[ldap://[2001:db8::7]">[ldap://[2001:db8::7]</a>/c=GB?objectClass?one      <em>Not going through? Hardly worth fixing.</em>]

</ol>


<h2 id="toc_0.3">"Normalize" kind</h2>
<p>
<code>[DESCRIPTION](URL)</code> and <code>"DESCRIPTION(OPTIONAL)":URL</code>
</p>
<pre>
# http://code.google.com/p/vimwiki/wiki/NormalizeLinkSyntax
# [github.com](http://github.com)
# [github.com](http://github.com)(what to do here?)
# (and this link [github.com](http://github.com))
# [and other links like [github.com](http://github.com)] what to do here?
# [Vim (text_editor)](http://en.wikipedia.org/wiki/Vim_(text_editor))
# (and this link [Vim (text_editor)](http://en.wikipedia.org/wiki/Vim_(text_editor)))
# "The main.py function":http://fitzgen.github.com/pycco/
# (and also "The main.py function":http://fitzgen.github.com/pycco/)
# "The main() function":https://github.com/AAAA/code/tree/master/Sing.java#main
# "(a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor))
# "(a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor);
# (in "?(a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor))
# "Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor).
# ("Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor))
# [github.com](http://github.com)(what to do here?)"Vim (a text_editor)"(http://en.wikipedia.org/wiki/Vim_(text_editor));
</pre>
<ol>
<li>
<a href="http://code.google.com/p/vimwiki/wiki/NormalizeLinkSyntax">http://code.google.com/p/vimwiki/wiki/NormalizeLinkSyntax</a>

<li>
<a href="[github.com](http://github.com)">[github.com](http://github.com)</a>

<li>
<a href="[github.com](http://github.com)">[github.com](http://github.com)</a>(what to do here?)

<li>
(and this link <a href="[github.com](http://github.com)">[github.com](http://github.com)</a>)

<li>
[and other links like <a href="[github.com](http://github.com)">[github.com](http://github.com)</a>] what to do here?

<li>
<a href="[Vim (text_editor)](http://en.wikipedia.org/wiki/Vim_(text_editor))">[Vim (text_editor)](http://en.wikipedia.org/wiki/Vim_(text_editor))</a>

<li>
(and this link <a href="[Vim (text_editor)](http://en.wikipedia.org/wiki/Vim_(text_editor))">[Vim (text_editor)](http://en.wikipedia.org/wiki/Vim_(text_editor))</a>)

<li>
<a href=""The main.py function":http://fitzgen.github.com/pycco/">"The main.py function":http://fitzgen.github.com/pycco/</a>

<li>
(and also <a href=""The main.py function":http://fitzgen.github.com/pycco/">"The main.py function":http://fitzgen.github.com/pycco/</a>)

<li>
"The main() function":<a href="https://github.com/AAAA/code/tree/master/Sing.java#main">https://github.com/AAAA/code/tree/master/Sing.java#main</a>

<li>
"(a text_editor)":<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>)

<li>
"(a text_editor)":<a href="http://en.wikipedia.org/wiki/Vim_(text_editor)">http://en.wikipedia.org/wiki/Vim_(text_editor)</a>;

<li>
(in <a href=""?(a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor)">"?(a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor)</a>)

<li>
<a href=""Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor)">"Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor)</a>.

<li>
(<a href=""Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor)">"Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor)</a>)

<li>
<a href="[github.com](http://github.com)">[github.com](http://github.com)</a>(what to do here?)<a href=""Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor))">"Vim (a text_editor)":http://en.wikipedia.org/wiki/Vim_(text_editor))</a>;

</ol>

